package cn.darkhorse.mesmeter.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;


/**
 * <p>
 * 
 * </p>
 *
 * @author yuanjun
<<<<<<< HEAD
 * @since 2023-11-10
=======
 * @since 2023-08-29
>>>>>>> 2b8ec30b9a7aacb1208d0c7dfa4d7733a922ab2b
 */
@Getter
@Setter
  @TableName("mes_meter_history_data_day")
@ApiModel(value = "MesMeterHistoryDataDay对象", description = "")
public class MesMeterHistoryDataDay implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("电表id")
      private Long meterId;

      @ApiModelProperty("电表名称")
      private String meterName;

      @ApiModelProperty("用电名称id")
      private Long electricityId;

      @ApiModelProperty("用电名称")
      private String electricityName;

      @ApiModelProperty("用电类型 0：生产用电 1：生产辅助用电 2： 非生产用电")
      private Integer electricityType;

      @ApiModelProperty("期初电能")
      private BigDecimal startKwh;

      @ApiModelProperty("期末电能")
      private BigDecimal endKwh;

      @ApiModelProperty("用电量")
      private BigDecimal kwh;

      @ApiModelProperty("年")
      private String years;

      @ApiModelProperty("月")
      private String months;

      @ApiModelProperty("日")
      private String days;

      @ApiModelProperty("日期")
      private String createdDate;

      @ApiModelProperty("创建时间")
      private LocalDateTime gmtCreated;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;


}
